package com.csun.dsms.model.dto.menu;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author chisj chisj@foxmail.com
 * @version 1.0.0
 * @date 2021-09-02 11:42
 * @description: TODO
 */
@Data
public class MenuCheckNameDto {

    /**
     * 菜单的id
     */
    private Long menuId;

    /**
     * 菜单的pid
     */
    @NotBlank(message = "上级菜单ID不能为空")
    private Long pid;

    /**
     * 菜单的menuName
     */
    @NotBlank(message = "菜单名称不能为空")
    private String menuName;
}
